package com.spring.demo.springdemo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Author RenPu
 * @Date 2022/4/10 14:07
 * @Version 1.0
 * @Description:
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Stock {
    // 股票交易代码
    private String code;

    // 现价
    private Double price;

    // 涨幅
    private Double rise;

}
